package com.linjiahao.nettyOne.client;

import com.linjiahao.servicebase.common.ResultMap;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Author Shinelon
 * @Date 2022/1/10 21:06
 * @Version 1.0
 */
@Component
@FeignClient(name = "userCenter")
public interface UserCenterClient {

    @PostMapping("/api/inner/getUserInfoList")
    public ResultMap getUserInfoList(@RequestBody List<Long> userIds);
}
